import http from '@/utils/http'
// 根据单元id获取房屋列表
export async function getHouseByUnitIdApi(parm) {
  return await http.get('/api/houseList/getHouseByUnitId', parm)
}
// 查询列表
export async function getListApi(parm) {
  return await http.get('/api/feePower/list', parm)
}
// 新增电费
export async function addPowerApi(parm) {
  return await http.post('/api/feePower', parm)
}
// 编辑电费
export async function editPowerApi(parm) {
  return await http.put('/api/feePower', parm)
}
// 删除电费
export async function deletePowerApi(parm) {
  return await http.delete('/api/feePower', parm)
}
// 缴费
export async function payPowerApi(parm) {
  return await http.post('/api/feePower/payPower', parm)
}
